package pl.prv.polanie.client.model;

/**
 * Klasa przechowujaca globalne ustawienia uzytkownika. 
 * 
 * @author Janusz Prokulewicz
 * Created: Jun 17, 2008
 */
public class UserSettings {
	
	
	/**
	 * podczas edycjia SE wczytuj
	 */
	private static boolean whileSEEditionLoadLecturerPreferences = true;
	private static boolean whileSEEditionLoadLecturerEvents = true;
	private static boolean whileSEEditionLoadRoomEvents = true;
	
	/**
	 * pozycja kontrolki do wlaczania/wylaczania podpowiedzi podczas edycji SE
	 */
	private static int seEditionWidgetX = -1;
	private static int seEditionWidgetY = -1;

	
	
	
	
	
	
	
	public static boolean isWhileSEEditionLoadLecturerEvents() {
		return whileSEEditionLoadLecturerEvents;
	}



	public static void setWhileSEEditionLoadLecturerEvents(
			boolean whileSEEditionLoadLecturerEvents) {
		UserSettings.whileSEEditionLoadLecturerEvents = whileSEEditionLoadLecturerEvents;
	}



	public static boolean isWhileSEEditionLoadRoomEvents() {
		return whileSEEditionLoadRoomEvents;
	}



	public static void setWhileSEEditionLoadRoomEvents(boolean whileSEEditionLoadRoomEvents) {
		UserSettings.whileSEEditionLoadRoomEvents = whileSEEditionLoadRoomEvents;
	}



	public static int getSeEditionWidgetX() {
		return seEditionWidgetX;
	}



	public static void setSeEditionWidgetX(int seEditionWidgetX) {
		UserSettings.seEditionWidgetX = seEditionWidgetX;
	}



	public static int getSeEditionWidgetY() {
		return seEditionWidgetY;
	}



	public static void setSeEditionWidgetY(int seEditionWidgetY) {
		UserSettings.seEditionWidgetY = seEditionWidgetY;
	}



	public static boolean isWhileSEEditionLoadLecturerPreferences() {
		return whileSEEditionLoadLecturerPreferences;
	}



	public static void setWhileSEEditionLoadLecturerPreferences(
			boolean whileSEEditionLoadLecturerPreferences) {
		UserSettings.whileSEEditionLoadLecturerPreferences = whileSEEditionLoadLecturerPreferences;
	}
	
	
	
}
